package com.fBlog.service.impl;

import java.util.List;

import com.fBlog.pojo.User;

public interface UserServiceI {
	/**
	 * 用户登录
	 * 
	 * @param user
	 *            里面包含登录名和密码
	 * @param s
     * @return 用户对象
	 */
	public User login(String familyName, String name, String pwd);
	
	public List<User> getUsers(String familyId);

    public String regFamily(String familyName, String admin, String password);

	public String saveUser(String familyId,String userName, String role, String password);

	public String updateUser(String userId,String familyId,String userName, String role, String password);
}
